//=============================================================================

#ifndef ACLIENT_H
  #define ACLIENT_H

//=============================================================================

#include "aNet.h"

//=============================================================================

enum actRet
{
  CLN_DONE = -128,
  CLN_BADIP,
  CLN_CANTCONNECT,
};

//=============================================================================

class aClient : public aNet
{
  public:
    aClient();
    aClient(u_short pn);
      actRet acConnectTo(const aString& ip = "127.0.0.1");
      antRet anAnalyzePacket(SOCKET s, const aPacket& p);
    ~aClient();

  private:
    sockaddr_in target;
};

//=============================================================================

#endif

//=============================================================================
